// 初始化样式
* {
    margin: 0;
    padding: 0;
}

li,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background-color: #fff;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// 第四部分：主体部分 
.main {
    width: 100vw;
    margin: 12vw auto 5vw;
    font: normal normal 4.5vw/12vw "Microsoft YaHei";
    text-indent: 5vw;
    color: #333;

    .type {
        position: relative;
        width: 100vw;
        height: 12vw;

        &::before {
            content: "首页轮播广告";
            position: absolute;
            top: 0vw;
            right: 10vw;
            text-indent: 0vw;
            text-align: center;
            color: #000;
        }
    }

    .state {
        position: relative;
        width: 100vw;
        height: 12vw;
        border-bottom: 0.2vw solid #f6f7f8;

        &::after {
            content: "";
            position: absolute;
            top: -2vw;
            right: 10vw;
            width: 15vw;
            height: 15vw;
            background: url(../images/上架状态.png) no-repeat center;
            background-size: contain;
        }
    }

    .picture1 {
        position: relative;
        width: 100vw;
        height: 30vw;
        border-bottom: 0.2vw solid #f6f7f8;

        &::before {
            content: "";
            position: absolute;
            top: 9vw;
            left: 8vw;
            width: 60vw;
            height: 20vw;
            background: url(../images/广告1.png) no-repeat center;
            background-size: contain;
            font: normal normal 10vw/25vw "Microsoft YaHei";
            text-align: center;
            text-indent: 0vw;
            color: #aaa;
        }

        &::after {
            content: "（大小2M以内PNG/JPG格式）";
            position: absolute;
            top: 0vw;
            left: 16vw;
            font-size: 3.6vw;
            text-align: center;
            text-indent: 0vw;
            color: #999;
        }
    }

    .picture2 {
        position: relative;
        width: 100vw;
        height: 30vw;
        border-bottom: 0.2vw solid #f6f7f8;

        &::before {
            content: "";
            position: absolute;
            top: 9vw;
            left: 8vw;
            width: 60vw;
            height: 20vw;
            background: url(../images/广告2.png) no-repeat center;
            background-size: contain;
            font: normal normal 10vw/25vw "Microsoft YaHei";
            text-align: center;
            text-indent: 0vw;
            color: #aaa;
        }

        &::after {
            content: "（大小2M以内PNG/JPG格式）";
            position: absolute;
            top: 0vw;
            left: 16vw;
            font-size: 3.6vw;
            text-align: center;
            text-indent: 0vw;
            color: #999;
        }
    }

    .picture3 {
        position: relative;
        width: 96vw;
        height: 40vw;
        border-bottom: 0.2vw solid #f6f7f8;

        &::before {
            content: "+";
            position: absolute;
            top: 12vw;
            left: 8vw;
            width: 20vw;
            height: 20vw;
            background-color: #f1f1f1;
            font: normal normal 10vw/20vw "Microsoft YaHei";
            text-align: center;
            text-indent: 0vw;
            color: #aaa;
        }

        &::after {
            content: "（大小2M以内PNG/JPG格式）";
            position: absolute;
            top: 0vw;
            left: 24vw;
            font-size: 3.6vw;
            text-align: center;
            text-indent: 0vw;
            color: #999;
        }
    }
}

// 底部--模块
.footer {
    width: 96vw;
    height: 12vw;
    margin: 0 auto;
    border-radius: 3vw;
    background-color: #019fe6;
    font: normal normal 5.2vw/12vw "Microsoft YaHei";
    text-align: center;
    color: #fff;
}